{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "faf09229",
   "metadata": {},
   "outputs": [],
   "source": [
    "#登录系统\n",
    "user_data = [\"XXX\",\"XXXX\",\"XXXXX\",] \n",
    "password_data = \"000\"\n",
    "user_data_vip = [\"XXX\"] \n",
    "\n",
    "count = 3\n",
    "while True:\n",
    "    count -=1 \n",
    "    user_name = input(\"帐号：\")\n",
    "    pass_word = input(\"密码：\")\n",
    "    # 1. 判断帐号\n",
    "    if user_name in user_data:\n",
    "    if user_name in user_data and user_name in user_data_vip:\n",
    "    if pass_word == password_data:\n",
    "       count = 3\n",
    "          while True:\n",
    "             count -= 1\n",
    "               print(\"欢迎尊敬的白马会老总会员，你带着一刀999的屠龙宝刀，人气值999，欢迎\")\n",
    "                 print(\"您还有\", count, \"次查看机会\")\n",
    "                   week_time = int(time)\n",
    "                   # week _time\n",
    "                   if week_time == 1:\n",
    "                   print(\"新的一周，新的打工人！！\")\n",
    "                   print(\"6-7写作训练\");\n",
    "                    elif week_time == 2:\n",
    "                    print(\"3-5创业基础实践\");\n",
    "                     print(\"8-10网站运营与管理\")\n",
    "                     print(\"12-13大学英语三B1班\")\n",
    "                    elif week_time == 3:\n",
    "                    print(\"1-2毛泽东思想和中国特色社会主义理论体系概论实践\");\n",
    "                    print(\"4-5户外体育游戏\");\n",
    "                    print(\"12-13韩语语言与文化\")\n",
    "                    elif week_time == 4:\n",
    "                    print(\"3-5Python语言\");\n",
    "                    print(\"8-9广告文案写作\");\n",
    "                    print(\"10-11大学英语三B1班\");\n",
    "                    print(\"12-14毛泽东思想和中国特色社会主义理论体系概论\");\n",
    "                    elif week_time == 5:\n",
    "                    print(\"4-5illustrator软件应用\")\n",
    "                    else:\n",
    "                    print(\"周五下午周六周日周一休息，小长假！\")\n",
    "                    break\n",
    "        else:\n",
    "        if count == 0:\n",
    "                  print(\"你已经输入三次或以上了，若再输入，将永久失去白马会会员，同时把你的课表排满\")\n",
    "                    break\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "545ce98f",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "1ba90542",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
